<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('wechat/config_post')}">
			<fieldset>
				<div class="control-group">
					<label class="control-label">{:L('TITLE')}</label>
					<div class="controls">
						<input type="text" name="post[title]" value="{$data.title}">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('TOKEN')}</label>
					<div class="controls">
                       	<input type="text" name="post[token]" value="{$data.token}">
                    </div>
					<br>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('APPID')}</label>
					<div class="controls">
						<input type="text" name="post[appid]" value="{$data.appid}">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('APPSECRET')}</label>
					<div class="controls">
						<input type="text" name="post[appsecret]" value="{$data.appsecret}">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('BINDMSG')}</label>
					<div class="controls">
						<textarea name="post[bindmsg]" style="width: 38%; height: 80px;" placeholder="请填写绑定信息">{$data.bindmsg}</textarea>
					</div>
				</div>
			</fieldset>
			<div class="form-actions">
				<input type="hidden" name="id" value="{$data.id}" />
				<button type="submit" class="btn btn-primary js-ajax-submit">确定</button>
				<a class="btn" href="javascript:history.back(-1);">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>